package com.bajiao.vo.store;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("StoreCouponOrderResponse")
public class StoreCouponOrderResponse {

    @ApiModelProperty("优惠券名称")
    private String title;
    @ApiModelProperty("面额")
    private BigDecimal quota;
    @ApiModelProperty("使用范围 1-平台 2-商家专属")
    private Integer scope;
    @ApiModelProperty("类型 1-折扣券 2-抵扣券")
    private Integer type;
    @JSONField(format = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("核销时间")
    private Date verifyTime;
    @JSONField(format = "yyyy-MM-dd")
    @ApiModelProperty("领取时间")
    private Date receiveTime;
    @JSONField(format = "yyyy-MM-dd")
    @ApiModelProperty("到期时间")
    private Date expireTime;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("支付金额")
    private BigDecimal payPrice;
    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;
}
